<!--渝快码公式-->
<template>
  <div class="yu-code-box">
    <div class="detailContent con-box">
      <div class="primary-tit title">{{title}}</div>
      <div class="imgContent">
        <h3>一、关于加快推广政务服务码（渝快码）利企便民应用的通知</h3>
        <img v-for="i in list1" :key="i" :src="i" @tap.stop="previewImage(i,list1)" />
        <h3>二、60岁以上用户“渝快码”示意图</h3>
        <img v-for="i in list2" :key="i" :src="i" @tap.stop="previewImage(i,list2)" />
        <h3>三、电子残疾人证示意图</h3>
        <img v-for="i in list3" :key="i" :src="i" @tap.stop="previewImage(i,list3)" />
        <h3>四、附件</h3>
        <img v-for="i in list4" :key="i" :src="i" @tap.stop="previewImage(i,list4)" />
      </div>
    </div>
    <FooterTel></FooterTel>
  </div>
</template>

<script>
import PageTitle from '../components/pageTitle.vue'
import FooterTel from '../components/footerTel.vue'
export default {
  name: 'Detail',
  components: {
    PageTitle,
    FooterTel
  },
  data () {
    return {
      title: null,
      list1: [
        'https://cqzr-1318844901.cos.ap-chongqing.myqcloud.com/contentImg/filePublicity/QRCodeHappy001.jpg',
        'https://cqzr-1318844901.cos.ap-chongqing.myqcloud.com/contentImg/filePublicity/QRCodeHappy002.jpg',
        'https://cqzr-1318844901.cos.ap-chongqing.myqcloud.com/contentImg/filePublicity/QRCodeHappy003.jpg'
      ],
      list2: [
        'https://cqzr-1318844901.cos.ap-chongqing.myqcloud.com/contentImg/filePublicity/QRCodeHappy005.jpg',
        'https://cqzr-1318844901.cos.ap-chongqing.myqcloud.com/contentImg/filePublicity/QRCodeHappy004.jpg',
        'https://cqzr-1318844901.cos.ap-chongqing.myqcloud.com/contentImg/filePublicity/QRCodeHappy006.jpg'
      ],
      list3: [
        'https://cqzr-1318844901.cos.ap-chongqing.myqcloud.com/contentImg/filePublicity/QRCodeHappy010.jpg'
      ],
      list4: [
        'https://cqzr-1318844901.cos.ap-chongqing.myqcloud.com/contentImg/filePublicity/QRCodeHappy007.jpg',
        'https://cqzr-1318844901.cos.ap-chongqing.myqcloud.com/contentImg/filePublicity/QRCodeHappy008.jpg',
        'https://cqzr-1318844901.cos.ap-chongqing.myqcloud.com/contentImg/filePublicity/QRCodeHappy009.jpg'
      ],
    };
  },
  async onShow () {

  },
  async onLoad (e) {
    var vm = this;
    vm.title = e.title
  },
  created () { },
  methods: {
    previewImage (i, list) {
      this.func.previewImg(i, list)
    }
  },
  mounted () {
    var vm = this;
  },
};
</script>

<style lang="scss" scoped>
@import "../../static/css/module.scss";
.yu-code-box {
  padding-bottom: 10px;
  .boxTitle {
    margin: 10px 14px;
  }
  .detailContent {
    .imgContent {
      width: auto;
      img {
        width: 100%;
      }
    }
  }
  .detailContent,
  .tips {
    padding: 0 18px 20px;
    margin: 14px;
    font-size: 15px;
    line-height: 22px;
    overflow: hidden;
    .title {
      width: 100%;
      padding-left: 14px;
      line-height: 30px;
      font-size: 17px;
      font-weight: bold;
      color: #222;
      box-sizing: border-box;
      margin: 10px 0;
    }
  }
}
</style>
